package order

import "time"

type Order struct {
	OrderId         string    `json:"order_id"`
	UserId          int       `json:"user_id"`
	OrderDate       time.Time `json:"order_date"`
	TotalAmount     float32   `json:"total_amount"`
	PaymentStatus   int       `json:"payment_status"`
	ShippingAddress string    `json:"shipping_address"`
}

func (Order) TableName() string {
	return "zlg_orders"
}
